package com.aisi.manager.mapper;

import com.aisi.model.dto.system.SysRoleDto;
import com.aisi.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: shenjianZ
 * @Date: 2024/2/17 10:52
 * @Description:
 */

@Mapper
public interface SysRoleMapper {
    List<SysRole> findSysRoleByPage(SysRoleDto sysRoleDto);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteSysRoleById(Long id);

    List<SysRole> findAllSysRoles();
}

